<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 15-3-21
 * Time: 下午4:02
 */
//执行url
function responseURL($url){
    $ch = curl_init( );
    curl_setopt( $ch,CURLOPT_URL,$url );
    curl_setopt( $ch,CURLOPT_HEADER,0 );
    curl_setopt( $ch,CURLOPT_RETURNTRANSFER,1 );
    //$ret= curl_exec( $ch );
    curl_exec( $ch );
    curl_close( $ch );
    //echo $ret;
}